package edu.ycxy.poetry.service;


import com.baomidou.mybatisplus.extension.service.IService;
import edu.ycxy.poetry.entity.DjList;
import edu.ycxy.poetry.entity.DjType;

import java.util.List;

/**
 * @Author @xin
 * @createDate 2022/3/14
 * @Description
 */
public interface IDjTypeService extends IService<DjType> {

    //查询古籍知识的主类型的id和名称
    List<DjType> selectType();

    //根据古文典籍的主类型所得的id查询古文典籍的具体类型
    List<DjType> selectByTypeId(Integer id);

}
